package com.hbyj.hbm.vo;

import java.util.HashSet;
import java.util.Set;

/**
 * Departments entity. @author MyEclipse Persistence Tools
 */

public class Departments implements java.io.Serializable {

	// Fields

	private Integer id;
	private DepartmentCategory departmentCategory;
	private String name;
	private String remarks;
	private Set memberses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Departments() {
	}

	/** minimal constructor */
	public Departments(DepartmentCategory departmentCategory,
			String name) {
		this.id = id;
		this.departmentCategory = departmentCategory;
		this.name = name;
	}

	/** full constructor */
	public Departments(Integer id, DepartmentCategory departmentCategory,
			String name, String remarks, Set memberses) {
		this.id = id;
		this.departmentCategory = departmentCategory;
		this.name = name;
		this.remarks = remarks;
		this.memberses = memberses;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public DepartmentCategory getDepartmentCategory() {
		return this.departmentCategory;
	}

	public void setDepartmentCategory(DepartmentCategory departmentCategory) {
		this.departmentCategory = departmentCategory;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Set getMemberses() {
		return this.memberses;
	}

	public void setMemberses(Set memberses) {
		this.memberses = memberses;
	}

}